using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class MainManager : MonoBehaviour
{
    // Start is called before the first frame update
    void Start()
    {
        SocketClient.Instance.OnReceiveScreenServerEvent += OnReceiveScreenServerEventCallBack;
    }

    private void OnReceiveScreenServerEventCallBack(string msg)
    {
        Debug.Log(msg);
    }

    // Update is called once per frame
    void Update()
    {
        if (Input.GetKeyDown(KeyCode.Alpha1))
        {
            SocketClient.Instance.SendCubeClientCommand("Cube Client Command");
        }
    }
}
